package cn.test.conf;

import com.alibaba.dubbo.config.spring.AnnotationBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @auther hanchao
 * @date 2016/11/9 18:18
 */
@Configuration
public class DubboConfig {

    @Bean
    public AnnotationBean annotationBean(){
        AnnotationBean bean = new AnnotationBean();
        bean.setPackage("cn.test");
        return bean;
    }


}
